import request from '@/utils/request'

export function getList(page) {
  return request({
    url: '/api/warning/list',
    method: 'get',
    params: {...page}
  })
}



export function deleteInfo(warningId) {
  return request({
    url: '/api/warning/delete',
    method: 'post',
    params: {warningId}
  })
}
